package com.bwie.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bwie.pojo.TbGoodsImg;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface TbGoodsImgMapper extends BaseMapper<TbGoodsImg> {

    @Select("select id,goods_id,url from tb_goodsimg where goods_id = #{id}")
    List<TbGoodsImg> findTbGoodsImg(Integer id);
}
